|
Foxit PDF SDK
|
继承自 FoxitPDFSDKPython3._object .
Public 成员函数 | |
| def | DefaultAppearance (flags, font, text_size, text_color) |
| 构造函数,带参数。 更多... | |
| def | DefaultAppearance () |
| 构造函数。 | |
| def | DefaultAppearance (default_appearance) |
| 构造函数,使用另一个默认外观对象。 更多... | |
| def | Set (flags, font, text_size, text_color) |
| 设置值。 更多... | |
静态 Public 属性 | |
| e_FlagFont = _fsdk.DefaultAppearance_e_FlagFont | |
| 指示FoxitPDFSDKPython3.DefaultAppearance 的字体属性是有意义的。 | |
| e_FlagFontSize = _fsdk.DefaultAppearance_e_FlagFontSize | |
| 指示FoxitPDFSDKPython3.DefaultAppearance 的文本大小属性是有意义的。 | |
| e_FlagTextColor = _fsdk.DefaultAppearance_e_FlagTextColor | |
| 指示FoxitPDFSDKPython3.DefaultAppearance 的文本颜色属性是有意义的。 | |
| flags = _fsdk.DefaultAppearance_flags | |
| 指示默认外观的哪些属性是有意义的标志。 更多... | |
| font = _fsdk.DefaultAppearance_font | |
| 默认外观的字体。当它有用时,应该是一个有效的字体对象。 更多... | |
| text_color = _fsdk.DefaultAppearance_text_color | |
| 默认外观的文本颜色。格式:0xRRGGBB。 更多... | |
| text_size = _fsdk.DefaultAppearance_text_size | |
| 默认外观的文本大小。 更多... | |
此类表示默认外观数据,用于自由文本注释和表单。
| def FoxitPDFSDKPython3.DefaultAppearance.DefaultAppearance | ( | flags, | |
| font, | |||
| text_size, | |||
| text_color | |||
| ) |
构造函数,带参数。
| [in] | flags | 指示默认外观的哪些属性是有意义的标志。 请参考从FoxitPDFSDKPython3.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 |
| [in] | font | 当参数flags包含FoxitPDFSDKPython3.DefaultAppearance.e_FlagFont 时, 用于默认外观的有效字体对象。 |
| [in] | text_size | 当参数flags包含FoxitPDFSDKPython3.DefaultAppearance.e_FlagFontSize 时, 默认外观的字体大小。通常应该大于0。 对于某些对象,大小0有特殊含义。请参考用于将默认外观数据设置为其他对象的函数注释。 |
| [in] | text_color | 默认外观的文本颜色。格式:0xRRGGBB。 |
| def FoxitPDFSDKPython3.DefaultAppearance.DefaultAppearance | ( | default_appearance | ) |
构造函数,使用另一个默认外观对象。
| [in] | default_appearance | 另一个默认外观对象。 |
| def FoxitPDFSDKPython3.DefaultAppearance.Set | ( | flags, | |
| font, | |||
| text_size, | |||
| text_color | |||
| ) |
设置值。
| [in] | flags | 指示默认外观的哪些属性是有意义的标志。 请参考从FoxitPDFSDKPython3.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 |
| [in] | font | 默认外观的字体。当参数flags包含 FoxitPDFSDKPython3.DefaultAppearance.e_FlagFont 时,请确保这是一个有效的字体对象。 |
| [in] | text_size | 当参数flags包含FoxitPDFSDKPython3.DefaultAppearance.e_FlagFontSize 时, 默认外观的字体大小。通常应该大于0。 对于某些对象,大小0有特殊含义。请参考用于将默认外观数据设置为其他对象的函数注释。 |
| [in] | text_color | 默认外观的文本颜色。格式:0xRRGGBB。 |
|
static |
指示默认外观的哪些属性是有意义的标志。
请参考从FoxitPDFSDKPython3.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 0表示默认外观的任何属性都不是有意义的。
|
static |
默认外观的字体。当它有用时,应该是一个有效的字体对象。
|
static |
默认外观的文本颜色。格式:0xRRGGBB。
|
static |
默认外观的文本大小。
当它有用时,通常应该大于0。对于某些对象,大小0有特殊含义。 请参考用于将默认外观数据设置为其他对象的函数注释。